//
//  CYPickerDatasourceDelegate.h
//  CaiYun
//
//  Created by 今日信息科技 on 2017/7/11.
//  Copyright © 2017年 今日信息科技. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef void(^pickerDatasourceBlock)(NSString *pickerStr);
typedef enum{
    datePicker = 0,
    areaPicker
} PickerType;
@interface CYPickerDatasourceDelegate : NSObject<UIPickerViewDataSource,UIPickerViewDelegate>
@property (nonatomic, weak) id<UIPickerViewDataSource>CYPickerDataSource;
@property (nonatomic, weak) id<UIPickerViewDelegate>CYPickerDelegate;
@property (nonatomic, assign) PickerType type;
- (instancetype)initWithDidSelct:(pickerDatasourceBlock)block;

@end




